﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPWinFormWork.Material.Material.Dtos
{
    public class Goods_InspectionOutput
    {
        public int Id { get; set; }
        /// <summary>
        /// 检验类型(1.来料检验、2.出货检验)
        /// </summary>
        [DisplayName("检验类型")]
        public int Inspection_Type { get; set; } = 1;
        /// <summary>
        /// 检验编号
        /// </summary>
        [DisplayName("检验编号")]
        public string InspectionNode { get; set; }
        /// <summary>
        /// 检验单名称
        /// </summary>
        [DisplayName("检验单名称")]
        public string InspectionName { get; set; }
        /// <summary>
        /// 检验日期
        /// </summary>
        [DisplayName("检验日期")]
        public DateTime Inspection_Date { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [DisplayName("批次号")]
        public string Batch { get; set; }
        /// <summary>
        /// 发货日期
        /// </summary>
        [DisplayName("发货日期")]
        public DateTime Shipment_Date { get; set; }
        /// <summary>
        /// 物料Id
        /// </summary>
        [DisplayName("物料Id")]
        public int? MaterialId { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        [DisplayName("物料编号")]
        public string MaterialNumber { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [DisplayName("物料名称")]
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        [DisplayName("规格型号")]
        public string Specifications { get; set; }
        /// <summary>
        /// 单位id
        /// </summary>
        [DisplayName("单位id")]
        public int? Unit_Id { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        [DisplayName("单位名称")]
        public string UnitName { get; set; }
    }
}
